package com.blb.zycommunity.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.zycommunity.entity.ZyUnit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

import java.util.List;

/**
 * <p>
 * 单元  Mapper 接口
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
@Mapper
public interface ZyUnitMapper extends BaseMapper<ZyUnit> {

    //查询楼栋信息
    IPage<ZyUnit> selectByAll(IPage<ZyUnit> page,String unitName,String unitCode,String unitHaveElevator ,String buildingName,Long communityId);



    List<ZyUnit> selectUnitByBuildingId(String buildingId);
}
